convert from readFileStrict
authorJoey Hess <joeyh@joeyh.name>
Wed, 22 Jan 2025 20:19:06 +0000 (16:19 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 22 Jan 2025 20:20:36 +0000 (16:20 -0400)
commit6e27b0d4d1548e4e7346c86b3272b24dd65ba66d
treed2a44baccb31e9c54c982a95cf801438e8cc6812
parentde1af273e0e40aa4fc244ba9b50b7276f09ce458
convert from readFileStrict

This removes that function, using file-io readFile' instead.

Had to deal with newline conversion, which readFileStrict does on
Windows. In a few cases, that was pretty ugly to deal with.

Sponsored-by: Kevin Mueller
19 files changed:
Assistant/Install.hs
Assistant/Threads/TransferPoller.hs
Assistant/Threads/TransferWatcher.hs
Assistant/Upgrade.hs
CmdLine/GitRemoteAnnex.hs
Command/P2P.hs
Command/Vicfg.hs
Config/Smudge.hs
Creds.hs
Git/Repair.hs
Logs/Transfer.hs
Logs/Unused.hs
Logs/Upgrade.hs
Types/Distribution.hs
Upgrade/V2.hs
Upgrade/V5/Direct.hs
Utility/Misc.hs
Utility/SshConfig.hs
doc/todo/RawFilePath_conversion.mdwn